package cn.wolfcode.service;

import cn.wolfcode.domain.Permission;
import cn.wolfcode.query.QueryObject;
import cn.wolfcode.result.PageResult;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IPermissionService {
    void save(Permission permission);
    void delete(Long id);
    void update(Permission permission);
    Permission get(Long id);
    List<Permission> listAll();
    PageInfo<Permission> query(QueryObject qo);

    void reload();

    List<String> queryByEmployeeId(Long employeeId);

}
